﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using App_Code.PublicHelper;

public partial class systemproduct_index : System.Web.UI.Page
{
    public int page;
    public int pageCount;
    public DataSet ds;

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            page = string.IsNullOrEmpty(Request.QueryString["page"]) ? 1 : int.Parse(Request.QueryString["page"]);
            pageCount = SystemProductHelper.GetPageCount();
            ds = SystemProductHelper.QueryByPage(page);
        }
    }
}
